<template>
    <view class="navBox">
        <view class="textBox">
            <text>理财</text>
        </view>
      <!-- 搜索框 -->
      <view @click="to" class="search">
      	<u-search :disabled="true" color='#D0CFCF' :show-action="false">
      	</u-search>
      </view>
        <image
            class="imageBox"
            src="../../static/image/icon_licai_xiaoxi@2x.png"
        ></image>
    </view>
</template>

<script>
	export default {
		name: "search",
		data() {
			return {
				keyword: '最高可借贷20万元'
			}
		},
		methods: {
			// 点击搜索框情况
			to() {
				uni.navigateTo({
					url: '/pages/HM-search/HM-search',
					   animationType: 'zoom-fade-out',
					    animationDuration: 200
				})
			},

		}
	}
</script>

<style scoped lang="scss">
	.search {
		padding-left: 20rpx;
		margin: 0 auto;
		width: 510rpx;
		height: 50rpx;
		position: relative;
	}
</style>





